<?php
/**
 * Print
 *
 * Primitive output.
 *
 * @author  Badrus Said <badrus.said@gmail.com>
 * @since   gop1.0
 */
final class gop_Print extends gop_Base {
    public function execute(gop_Base $_caller = null) {
        if ($this->getReturn()) return;
        $this->getContext()->getCallee($this->message)->execute($this);
        print $this->getResult();
        if ($this->newLine) {
            print "\n";
        }
        $this->chainExec();
    }
}
?>